package tron.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import tron.entity.User;

@RestController
public class ControllerOne {

    @GetMapping("/functionOne")
    public Object functionOne(String name) {
        User user = new User();
        user.setName(name);
        return user;
    }
}
